package cn.kgc.crowdfundingadminspringboot2.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PortalController {
    @RequestMapping("/index")
    public String index(){
        return "index-page";
    }
    @RequestMapping("/admin/to/login/page.html")
    public String toLoginPage(){
        return "/admin-login";
    }

    @RequestMapping("/menu/to/page.html")
    public String toPage(){
        return "menu-page";
    }
    @RequestMapping("/cert/to/page.html")
    public String certtopage(){
        return "cert-page";
}

    @RequestMapping("/advertisement/to/page.html")
    public String advertisementtopage(){
        return "/advertisement-page";
    }

    @RequestMapping("/message/to/page.html")
    public String message(){
        return "/message-page";
    }
}
